package com.truyen.persistence.dao;

import java.util.List;

import com.truyen.persistence.dao.base.GenericJpaBaseDao;
import com.truyen.persistence.entity.LoaiTruyenChu;
import com.truyen.persistence.entity.SearchLoaiTruyenTinhCam;
import com.truyen.persistence.entity.TruyenTinhCam;
import com.truyen.utils.PagingInfo;

public interface SearchLoaiTruyenTinhCamDao extends GenericJpaBaseDao<SearchLoaiTruyenTinhCam, Long> {

	List<SearchLoaiTruyenTinhCam> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);

	SearchLoaiTruyenTinhCam findByLoaiTruyenTinhCamVTruyenTinhCam(
			LoaiTruyenChu loaiTruyenChu, TruyenTinhCam truyen);

	List<SearchLoaiTruyenTinhCam> getLstByLoaiTruyenTinhCamWithPaging(
			LoaiTruyenChu loaiTruyenChu, String orderBy, PagingInfo pInfo);

}
